﻿using System.Runtime.Serialization;

namespace Needle.Bus.Messages.Management
{
    [DataContract]
    public class SuccesMessage : ControlMessage
    {
        public static SuccesMessage Create(ControlMessage msg)
        {
            return new SuccesMessage
            {
                CorrelationId = msg.IdForCorrelation
            };
        }
    }
}
